package com.chen.user.mapper;

import com.chen.model.entity.user.UserAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 4/26/25 9:04 AM
 */
@Mapper
public interface UserAddressMapper {
    /**
     * 根据id获取用户地址列表
     * @return
     */
    List<UserAddress> selectUserAddressList(Long userid);

    /**
     *  根据地址id, 返回用户地址对象
     * @param id
     * @return
     */
    UserAddress selectAddrById(Long id);
}
